/**
 * @file gnssmgr_reqeust.h
 * @brief
 * @author  ()
 * @version 1.0
 * @date 2024-12-23
 *
 * @copyright Copyright (C) 2019 Queclink Wireless Solutions (ShenZhen) Co., Ltd. All Rights Reserved.
 *
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2024-12-23 <td>1.0     <td>     <td>内容
 * </table>
 */
#ifndef _GNSSMGR_REQUEST_H
#define _GNSSMGR_REQUEST_H

#include "global.h"

#define GNSSMGR_INVAILD_REQUEST 0
#define GNSSMGR_FIX_REQUEST     1

typedef void (*gnss_req_callback)(void *data, size_t size);

bool gnssmgr_request_is_empty(void);

int32_t gnssmgr_request_register(uint8_t id, gnss_req_callback cb);

void gnssmgr_request_handler(void);

#endif /* _GNSSMGR_REQUEST_H */
